﻿Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel

<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
<Script.Services.ScriptService()> _
Public Class SMSService
    Inherits System.Web.Services.WebService

    <WebMethod()> _
    Public Function DoLogin(ByVal userName As String, ByVal password As String) As BOResult(Of String)
        Dim obj As New SendSMSFullOnSMS

        Return obj.DoLogin(userName, password)
    End Function

    <WebMethod()> _
    Public Function SendSMS(ByVal userName As String, ByVal password As String, ByVal msg As String, ByVal mobileNo As String) As BOResult(Of String)
        Dim obj As New SendSMSFullOnSMS
        Return obj.SendSMS(userName, password, msg, mobileNo)
    End Function

End Class